package com.worthtech.billportal.service;

import java.util.HashMap;
import java.util.List;

import com.worthtech.billportal.bean.AclUserRole;
import com.worthtech.billportal.bean.BillRole;
import com.worthtech.billportal.bean.CsCtrlGroupmodule;
import com.worthtech.billportal.bean.CsCtrlUser;
import com.worthtech.billportal.bean.CsCtrlUsergroup;
import com.worthtech.billportal.bean.User;
import com.worthtech.billportal.bean.UserView;
import com.worthtech.billportal.util.ResultObject;

public interface UserService {
    public ResultObject findList(HashMap params) throws Exception;
    public ResultObject findInfo(HashMap params) throws Exception;
    public ResultObject saveInfo(HashMap params) throws Exception;
    public ResultObject updateInfo(HashMap params) throws Exception;
    public ResultObject delInfo(HashMap params) throws Exception;
    public CsCtrlUser getUser(String userId) throws Exception;
	public List getListByHQL(String tableName, int startPage, int perNo,
			String orderby);
	public String getSumBySQL(String list, String tableName, String condition);
	public String getCount(String tableName, String condition);
	public void save(CsCtrlUsergroup c);
	public void save(CsCtrlGroupmodule c);
	public void update(CsCtrlUsergroup c);
	public void update(CsCtrlGroupmodule c);
	public void del(CsCtrlGroupmodule c);
}
